package com.lianbang.staff.model

import cn.ubest.mvvmcore.base.BaseModel
import cn.ubest.mvvmcore.bean.ResultWrapper
import com.lianbang.staff.bean.HomeDetailBean
import com.lianbang.staff.bean.UserBean
import com.lianbang.staff.http.api.HomeApi
import com.lianbang.staff.http.api.UserApi

/**
 * Created by maoqi on 2021/1/13.
 */
class HomeModel :BaseModel(){
    private val c = HomeApi::class.java

    suspend fun getHomeDetail(): ResultWrapper<HomeDetailBean> {
        return createService(c).getHomeDetail()
    }
}